#!/bin/bash

buildRoot=/build
installDstRoot=/usr/local

srcRoot=$buildRoot/src
buildTmpRoot=$buildRoot/tmp
pkgRoot=$buildRoot/pkg

(/usr/local/redis/bin/redis-server /data/redis/conf/redis.conf &)

echo -e '\nPATH=$PATH:/usr/local/redis/bin' >> $HOME/.bashrc

useradd -u $RUN_UID -G wheel -M -N $RUN_USER
echo 123 | passwd $RUN_USER --stdin

sudo -u $RUN_USER /bin/bash
